<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
require_once(APPPATH."extensions/Thumb/CImage.php");
if ( ! function_exists('thump')){
    function thumb($file="",$width,$height){	
		$path ="";
		if($file) {
			$path = CImage($file)->thumbImage($width, $height);	
		}
        return $path;
    }   
}

	
?>